import { createApp } from 'vue'
import { createPinia } from 'pinia'
import registerApp from './register'
import piniaPluginPerisstedState from 'pinia-plugin-persistedstate'
import App from './App.vue'
import router from './router'

import 'virtual:windi.css'
import './assets/main.css'
import 'element-plus/dist/index.css'

const app = createApp(App)
const pinia = createPinia()
pinia.use(piniaPluginPerisstedState)
app.use(pinia)
app.use(router)
registerApp(app)


app.mount('#app')

